-- GENERATED SPELL FOR [Slavering Ember Worg] --


function spell0_9694(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9694', 8000, 1)
end

function Sorts_9694(pUnit, Event)
local choix_sorts_9694 = math.random(0, 0)
if choix_sorts_9694 == 0 then
pUnit:RegisterEvent('spell0_9694', 1, 1)
end
end

function mob9694_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9694', math.random(1500, 3000), 1)
end

function mob9694_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9694_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9694_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9694, 1, 'mob9694_Action')
RegisterUnitEvent(9694, 2, 'mob9694_Leave')
RegisterUnitEvent(9694, 3, 'mob9694_Kill')
RegisterUnitEvent(9694, 4, 'mob9694_Die')
